<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>4-2-1-js插件</title>
<link rel="stylesheet" href="lib/lib/css/bootstrap.min.css">
<style type="text/css">

</style>
</head>
<body>
	
	<div class="dropdown">
		<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown"> 下拉菜单 <span class="caret"></span>
		</button>

		<ul class="dropdown-menu" role="menu" >
			<li role="presentation"><a href="#" role="menuitem" tabindex="-1">1</a></li>
			<li role="presentation"><a href="#" role="menuitem" tabindex="-1">2</a></li>
			<li role="presentation"><a href="#" role="menuitem" tabindex="-1">3</a></li>
		</ul>
	</div>





<script src="lib/jquery/jquery-1.11.0.min.js"></script>
<script src="lib/lib/js/bootstrap.min.js"></script>
<script type="text/javascript">

	$(document).off(".data-api")//关闭下拉功能
	$(document).off(".dropdown.data-api")//只关闭dropdown的下拉功能
	


</script>

</body>
</html>